<template>
  <div class="container">
    <course-list-item
      v-for="item in courseData"
      :key="index"
      :img="item.img"
      :title="item.title"
      :time="item.time"
      :view="item.view"
      :info="item"
    />
  </div>
</template>

<script>
  /**
   * 课程
   * @time 2018/04/14
   */
  import CourseListItem from '../../../components/course/CourseListItem';
  // import courseData from '../../../mock/course';
  import courseData from '../../../config/courseData';

  export default {
    data() {
      return {
        courseData,
      };
    },

    components: {
      CourseListItem,
    },

    methods: {
    },
  };
</script>

<style scoped>
</style>
